package com.njtoyo.taxi.admin.rest.wrapper.business.driver;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverChangeInformationReviewCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Objects;

@Data
@ApiModel(value = "司机信息审核查询")
public class DriverAuditInformationQueryWrapper extends Page<DriverAuditInformationQueryWrapper> {
    public DriverAuditInformationQueryWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "司机")
    private String driver;

    @ApiModelProperty(value = "要修改信息的类型 0:plate_number[车牌号]，1:driver_name[司机姓名],2:company[公司],3:mobile_number[手机号]")
    private DriverChangeInformationReviewCategory category;

    @ApiModelProperty(value = "是否已审核 0: 未处理false 1:已处理 true")
    private Boolean isVerified;

    @ApiModelProperty(value = "提交时间范围开始日期")
    private String creatStart;

    @ApiModelProperty(value = "提交时间范围结束日期")
    private String creatEnd;

    @ApiModelProperty(value = "处理时间范围开始日期时间戳")
    private Long updatedStart;

    @ApiModelProperty(value = "处理时间范围结束日期时间戳")
    private Long updatedEnd;

    private List<Long> cantonIds;
}
